package it.polimi.TravelDream.ejb.eaos;

import it.polimi.TravelDream.ejb.dtos.FlightDTO;

import java.util.Date;
import java.util.List;

import javax.ejb.Local;

@Local
public interface FlightSearch {

	void search();
	
	void searchAll();
	
	List <FlightDTO> getResultList();

	void setDepartureCity(String departureCity);

	void setDepartureAirport(String departureAirport);

	String getDepartureCity();

	String getDepartureAirport();

	Date getDepartureDate();

	void setDepartureDate(Date departureDate);

	String getArrivalAirport();

	void setArrivalAirport(String arrivalAirport);

	String getArrivalCity();

	void setArrivalCity(String arrivalCity);

	void update(FlightDTO flight, int index);
	
}
